package com.huihuiyun.huihuiyun.server.repository;

import com.huihuiyun.huihuiyun.server.domain.HhyManager;
import org.springframework.data.jpa.repository.JpaRepository;

public interface HhyManagerRepository extends JpaRepository<HhyManager, String> {
    HhyManager findHhyManagerByPhoneAndPassword(String phone, String password);

    HhyManager findHhyManagerByPhone(String phone);

    HhyManager findHhyManagerByLoginNameAndPassword(String loginName, String password);
}
